

import request from '@/utils/request'
// 用户
export function getUsersIntakeList(params) {
    return request({
        url: '/member/intake',
        method: 'get',
        params
    })
}
export function detailIntakeUsers(uid) {
    return request({
        url: '/member/intake/detail',
        method: 'get',
        params:{"id":uid}
    })
}

export function createUsers(data) {
    return request({
        url: '/member/intake/create',
        method: 'post',
        data
    })
}

export function updateUsers(data) {
    return request({
        url: '/member/intake/update',
        method: 'put',
        data
    })
}


//更改身份
export function modifyUsersRole(data) {
    return request({
        url: '/member/intake/role',
        method: 'post',
        data
    })
}
export function getUsersIntakeSelectlists(params) {
    return request({
        url: '/member/intake/getSelectlists',
        method: 'get',
        params
    })
}

